/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.publish.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.publish.entity.PublishAppointHeader;
import com.thinkgem.jeesite.modules.publish.dao.PublishAppointHeaderDao;

/**
 * 预约单Service
 * @author alex
 * @version 2017-05-04
 */
@Service
@Transactional(readOnly = true)
public class PublishAppointHeaderService extends CrudService<PublishAppointHeaderDao, PublishAppointHeader> {

	public PublishAppointHeader get(String id) {
		return super.get(id);
	}
	
	public List<PublishAppointHeader> findList(PublishAppointHeader publishAppointHeader) {
		return super.findList(publishAppointHeader);
	}
	
	public Page<PublishAppointHeader> findPage(Page<PublishAppointHeader> page, PublishAppointHeader publishAppointHeader) {
		return super.findPage(page, publishAppointHeader);
	}
	
	@Transactional(readOnly = false)
	public void save(PublishAppointHeader publishAppointHeader) {
		super.save(publishAppointHeader);
	}
	
	@Transactional(readOnly = false)
	public void delete(PublishAppointHeader publishAppointHeader) {
		super.delete(publishAppointHeader);
	}
	
}